<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:a="http://richfaces.org/a4j"
	xmlns:rg="http://www.ruijie.com.cn/faces/ui"
	template="/layout/dialogLayout.xhtml">

 	<ui:param name="param_panelTitle" value="添加产品信息"/>
 	<ui:param name="param_panelWidth" value="600px"/>
	
	<ui:define name="content">
		<a:form>
			<div style="width: 100%;">
				<rg:fieldSet column="auto" labelWidth="80px" >
					<rg:inputText id="name" label="申请表名字" value="#{addQuestionAction.question.questionName}" required="true"/>
				</rg:fieldSet>	
			</div>
			<div style="width: 100%;text-align: center;">
					<a:commandButton styleClass="button" value="添加" 
						oncomplete="UI.instance.reRender('reRenderQuestionTable');UI.instance.closeDialog();"
						actionListener="#{addQuestionAction.addQuestion()}"/>
						
					<a:commandButton styleClass="button" value="取消" onclick="UI.instance.closeDialog()"/>
					
			</div>
		</a:form>	
	</ui:define>
</ui:composition>
